import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.Calendar;



public class PonyVillExpress {
	public static void main (String[] args){
		Calendar cal = Calendar.getInstance();
		File paper = new File("paper"+cal.getTime()+".txt");
		int[] a = Lotto.getNums(); 
		PrintWriter out;
		try {
			out = new PrintWriter(new FileWriter(paper));
			out.write("Lottozahlen vom "+cal.getTime()+"\n"+a[0]+" "+a[1]+" "+a[2]+" "+a[3]+" "+a[4]+" "+a[5]);
			out.close();

		} catch (IOException e) {
		}

	}
}
/*

*/
